package com.wish.g01.base.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.g01.base.dto.CwDealPaySum;
import com.wish.g01.base.dto.CwDealPerDayDetailReceiptDto;
import com.wish.g01.base.dto.CwDealPerDayDto;
import com.wish.g01.base.entity.CwDealPerDay;
import com.wish.g01.base.mapper.CwDealPerDayMapper;
import com.wish.g01.base.service.ICwDealPerDayService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hao
 * @since 2022-05-24
 */
@Service
public class CwDealPerDayServiceImpl extends ServiceImpl<CwDealPerDayMapper, CwDealPerDay> implements ICwDealPerDayService {

    @Override
    public IPage<CwDealPerDay> listShow(Page<CwDealPerDay> page, CwDealPerDayDto cwDealPerDayDto) {
        return getBaseMapper().listShow(page,cwDealPerDayDto);
    }

    @Override
    public CwDealPerDayDto sumList(CwDealPerDayDto cwDealPerDayDto) {
        return getBaseMapper().sumList(cwDealPerDayDto);
    }

    @Override
    public IPage<CwDealPerDayDetailReceiptDto> shourumingxi(Page<CwDealPerDayDetailReceiptDto> page, CwDealPerDayDto cwDealPerDayDto) {
        return getBaseMapper().shourumingxi(page,cwDealPerDayDto);
    }

    @Override
    public IPage<CwDealPerDayDetailReceiptDto> shouRuMingXiZhiChu(Page<CwDealPerDayDetailReceiptDto> page, CwDealPerDayDto cwDealPerDayDto) {
        return getBaseMapper().shouRuMingXiZhiChu(page,cwDealPerDayDto);
    }

    @Override
    public CwDealPaySum chaKanXinXiTongJi1(CwDealPerDayDto cwDealPerDayDto) {
        return getBaseMapper().chaKanXinXiTongJi1(cwDealPerDayDto);
    }

}
